home *** CD-ROM | disk | FTP | other *** search
- Program Demo10b;
-
- { SPX library - FLC demo Copyright 1994 Scott D. Ramsay }
-
- Uses spx_vga,spx_flc,spx_key;
-
- var
- flc : flc_type;
- RetVal : integer;
- begin
- openmode(1);
- flc_open('gunhero.cel',flc);
- RetVal := flc_frame(flc);
- while (RetVal=FLC_NOERROR) or (RetVal=FLC_FINISHLOOP) do
- begin
- { do a frame delay here }
- RetVal := flc_frame(flc);
- if KeyPressed
- then break;
- end;
- flc_close(flc);
- closemode;
- end.
-